package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

import java.util.Date;

@TableMeta(name = "VC_PROP_INFO", title = "规格参数")
public class VCPropInfo {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "WAREID", title = "商品编号", length = 64)
    private String wareId;

    @FieldMeta(name = "PID", title = "规格参数ID")
    private Integer pid;

    @FieldMeta(name = "VID", title = "值ID")
    private Integer vid;

    @FieldMeta(name = "REMARK", title = "自定义值", length = 100)
    private String remark;

    @FieldMeta(name = "VNAME", title = "值名称", length = 100)
    private String vname;

    @FieldMeta(name = "PROPVALUES", title = "复选值")
    private String propvalues;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWareId() {
        return wareId;
    }

    public void setWareId(String wareId) {
        this.wareId = wareId;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getVname() {
        return vname;
    }

    public void setVname(String vname) {
        this.vname = vname;
    }

    public String getPropvalues() {
        return propvalues;
    }

    public void setPropvalues(String propvalues) {
        this.propvalues = propvalues;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCPropInfo.class);
    }

}
